package cn.caplike.demo.rabbitmq.springboot.idempotence_reliability.common.domain.model;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * Description: 邮件请求实体
 *
 * @author LiKe
 * @date 2019-11-22 14:13:47
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class MailRequest implements Serializable {

    /**
     * 消息 ID
     */
    private String messageId;

    /**
     * 申请发送邮件的客户端 ID (CLIENT-ID)
     */
    private String clientId;

    private String clientSecret;

    /**
     * 接受邮件的邮箱地址
     */
    private String receiver;

}
